package com.fang.guilimall.admin.api.controller.common;

import com.fang.gulimall.admin.common.core.base.BaseController;
import com.fang.gulimall.admin.common.core.dto.ResponseDTO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName LoginController
 * @Description TODO
 * @Author fangge
 * @Date 2024/6/13 23:19
 */
@RestController
@RequestMapping("/common")
public class LoginController extends BaseController {

    /**
     * 访问首页，提示语
     */
    @PostMapping("/app/{appId}/login")
    public ResponseDTO<String> appLogin() {
        return ResponseDTO.ok("token");
    }

}